package com.xy.biz.fd.domain.resp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author 于振晗
 * @title: GraphResponse
 * @description: TODO 关系图相应接口
 * @date 2021年03月23日
 * @path com.xy.biz.fd.domain.resp
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GraphResponse {
    List<Map<String,String>> data;//{name: '节点1', x: 300, y: 300}
    List<Map<String,Object>> links;//{source: '节点2', target: '节点1', label: {show: true}, lineStyle: {curveness: 0.2}}

}
